vCenter 5.5 Upgrade with Windows Server 2012 R2

vCenter 5.5 Upgrade with Windows Server 2012 R2

This Upgrade Guide details the step-by-step process for upgrading your vCenter Server from 5.1 to 5.5 Update 1c.  Also included is the build of a new Windows Server 2012 R2 OS for the vCenter 5.5 services whilst maintaining a separate SQL Server 2008 R2 Database.

I was unfortunate enough to make the decision to deploy the distributed vCenter model in vSphere 5.0, which I maintained through to vSphere 5.1 with SSO 5.1, which has been an operational nightmare to manage.  This post also covers the consolidation of the distributed model to a centralised vCenter setup with an existing, separate Database server.

vSphere 5.1 to 5.5 upgrade

Overview of the process

  • Preparation & Planning
  • Prepare the vSphere Management Cluster
  • Shutdown the existing vCenter services and re-purpose the existing hybrid vCenter/Database server to be a dedicated Database server.
  • Windows Server 2012 R2 server Operating System installation
  • Customise the Windows Server 2012 R2 OS
  • Install the .Net Framework 3.5 Features
  • Install and Configure the 64-bit DSN
  • Import the SSL directory from the original vCenter server
  • Install the vCenter Single Sign-On, vSphere Web Client, Inventory Service and vCenter Server
  • Post Installation Cleanup – including re-integration of Cloud Management Infrastructure (some are covered in this series, but most is out of scope)

Preparation & Planning

  1. This process takes approximately 3 hours.
  2. Download the Binaries for Windows Server 2012 R2, SQL Server 2008 R2 & VMware vCenter 5.5 Update 1c (Build 1945270).  Copy these binaries to a Datastore that is accessible by the Management hosts.
  3. Configure a DRS VM-Host rule that places all vCenter infrastructure on the same Management host, this way you will only need one vSphere Client connection during the upgrade.
  4. Take vSphere Snapshots of all vCenter server infrastructure VMs, including vUM, vC Ops, vIN, vCM, CBM, etc.  This will allow you to roll-back quickly if things go wrong.
  5. Take a full database consistent backup of your vCenter Database server.
  6. Document the RBAC configuration for the entire vCenter hierarchy.  This will be recreated manually.  NOTE: if your vCenter server and SSO service are on the same VM, then the upgrade process will upgrade the service, maintaining the RBAC configuration (see Alternatives heading below).
  7. The SSO 5.1 user “admin@SYSTEM-DOMAIN” has changed to “administrator@vsphere.local” in SSO 5.5.

Assumptions

  • You know what you are doing and have the ability to make changes to vCenter, Active Directory, DNS, etc. (directly or indirectly).
  • You have checked that all of your vCenter plugins and third party services support vSphere 5.5 Update 1c.  You have the necessary procedures for any re-integration tasks.
  • You have a fully functioning vSphere environment with virtual machines running.  No Physical vCenter servers.

Risks

  • This process does not migrate the vCenter 5.1 SSO server data to vCenter 5.5.  All permissions will be recreated from scratch.
  • Roll-back – original vSphere infrastructure is a “snapshot restore” away if the upgrade process fails.

Alternatives

Other resources

Part 2

Prerequisites

  • You have a validated design for your new vCenter management layer.
  • You have checked all systems that integrate with vCenter support vSphere 5.5 Update 1c.
  • You have an approved scheduled downtime from your Release Management team.
  • You have downloaded the necessary binaries.
  • You have a valid Windows Server 2012 R2 Data Center Edition licence (KMS server used in this case)
  • You have valid IP addresses and hostnames for the vCenter 5.5 servers.
  • You have administrator access (direct/indirect) to Active Directory, DNS, ESXi hosts, etc.
  • You have tested this process in a test environment before moving to Production.
  • You have an AD “vCenter” OU which has a “optimised” Group Policy configured specifically for vCenter.
  • You have a “optimised” Anti-Virus policy specifically configured for vCenter.

Preparing the vSphere Management Cluster

  1. Create the DRS VM-Host rule that binds the vCenter Management Layer to a single Host in your Management Cluster.
  2. Take vSphere Snapshots of your vSphere 5.1 Management Layer Virtual Machines as part of your roll-back strategy.  Make sure you include all VMs in the management ecosystem that integrate with vCenter: VUM, vCOPs, vCAC, vCD, CBM, vCM, vShield Manager, etc.
  3. Take a Database consistent backup of the vCenter 5.1 SQL Server database.
  4. Upload the ISO images (Windows Server 2012 R2, Microsoft SQL Server 2008 R2 & VMware vCenter 5.5 Update 1c) to a Datastore that your Host has access to.
  5. Connect your vSphere Client directly to the ESXi Host you selected in Step 1.
  6. Create the VM that will run Windows Server 2012 R2.  For a “Small” vCenter deployment, configure 6 vCPUs, 14GB RAM, 2 vDisks (100GB & 40GB), vNIC vmxnet3 and connect the CD-ROM to the Windows Server 2012 R2 ISO image.

5.5_DRS_RULE 5.5_ISO_IMAGES 5.5_VCENTER_HW 5.5_VSPHERE_CLIENT_DIRECT_CONNECT_HOST

Shutdown the Original vCenter 5.1 Servers

  1. Open the Console to your Web Client, Inventory and Web Client servers and gracefully shutdown the VMs.
  2. Open the Console to your vCenter/Database server and uninstall the vCenter 5.1 software.
  3. WARNING: DO NOT DELETE  “C:\ProgramData\VMware\VMware VirtualCenter\SSL\” DIRECTORY.  These certificates will be copied to the new vCenter server later on.
  4. Change the IP Address of the VM to another IP in the same subnet.  The original IP will be assigned to the Win2012 R2 server, which means you may not have to change a lot of firewall rules.
  5. Change the name of the VM to the organisational naming standard for databases.  The original name will be assigned to the Win2012 R2 server, this means administrators will continue to use the same name for access.  You will have to remove the VM from the Domain, change the name and add it to AD again.
  6. After the necessary reboots, login to the Database server and run the “SQL Server Management Studio”.  Login as “sa” with the relevant password.
  7. Browse to the “Database” folder and record the name of the vCenter Database configured, this will be required later.  Verify that “vpxuser” exists in the “Permissions” option under Database “Properties”.

5.5_SQL_Server_Management_Studio_1 5.5_SQL_Server_Management_Studio_25.5_SQL_Server_Management_Studio_3

Installing Windows Server 2012 R2 Data Center Edition with GUI

  1. Check that the Windows Server 2012 R2 ISO image is connected to the CDROM of the vCenter Virtual Machine.
  2. Power-On the VM and wait for the Windows Server 2012 R2 installation screen to appear.  Select “Next”.
  3. Select “Install Now”.
  4. Select “Windows Server 2012 R2 Data Center (Server with a GUI) x64″ and select “Next”.
  5. Accept the licence and select “Next”.
  6. Select “Custom: Install Windows only (advanced)”.
  7. Select “Drive 0 Unallocated Space” (100GB) and select “Next”.
  8. Wait for the “Installing Windows” screen to complete and then the VM will reboot.
  9. In the “Settings Window”, set the “Administrator Password”.
  10. When the “Press Ctrl+Alt+Delete to sign-in” message appears you can login.

5.5_W2K12_15.5_W2K12_2 5.5_W2K12_3 5.5_W2K12_4 5.5_W2K12_5 5.5_W2K12_6 5.5_W2K12_7 5.5_W2K12_8 5.5_W2K12_9

Customise the Windows Server 2012 R2 Operating System for vCenter

  1. Install VMware tools.  This is especially required for the vNIC “vmxnet3″ driver.
  2. Access the “Server Manager” interface (it should start automatically after login) and configure the following OS settings.
  3. Set the Time-Zone.
  4. Disable the Windows Firewall for the Domain, Private and Public profiles.
  5. Configure the vNIC: IP Address of original vCenter 5.1 server, Netmask, Gateway and DNS servers.
  6. Disable Internet Explorer Enhanced Security.
  7. Change the computer name to that of the original vCenter 5.1 server and add to Active Directory.
  8. Move the Computer object to the “vCenter” OU in AD (Domain Admin task).
  9. Install Anti-Virus and set the “vCenter” AV policy (Information Security task).
  10. Check that the server licence is activated from the KMS server.
  11. Check that the server has been updated with the latest patches from the WSUS server.
  12. From “Server Manager”, select “Tools” and then “Computer Management”.
  13. Within the “Computer Management” window, select the “Disk Management” object.  Browse to the “Unknown” 40GB Disk and place it “Online”, then “Initialise” with “GPT” and finally create a “Simple Volume” that will map to E:.
  14. Within the “Computer Management” window, select the “Local Users & Groups” object.  Browse to the “Administrator” Group and add the administrator groups and users that will manage this vCenter.  In particular, your service account for vCenter must be added.

5.5_W2K12_10 5.5_W2K12_11 5.5_W2K12_12 5.5_W2K12_13 5.5_W2K12_14 5.5_W2K12_26 5.5_W2K12_27 5.5_W2K12_28 5.5_W2K12_29 5.5_W2K12_30 5.5_W2K12_31

Install .Net Framework 3.5 Features

  1. From “Server Manager”, select “Manage” and then “Add Roles and Features”.
  2. Select “Next”.
  3. Select “Role-based or feature-based installation” and select “Next”.
  4. Press “Select a server from the server pool”, make sure the “Windows Server 2012″ OS is highlighted and select “Next”.
  5. Tick “Application Server” and select “Next”.
  6. Tick “.NET Framework 3.5 Features” and select “Next”.
  7. Select “Next”.
  8. Select “Next”.
  9. Press “Specify an alternate source path” and define the “Path” as “D:\sources\sxs” and press “OK”.
  10. Select “Install”.
  11. Once the feature installation progress has “succeeded”, press the “Close” button.

5.5_W2K12_15  5.5_W2K12_16 5.5_W2K12_17 5.5_W2K12_18 5.5_W2K12_19 5.5_W2K12_20 5.5_W2K12_21 5.5_W2K12_22 5.5_W2K12_23 5.5_W2K12_24 5.5_W2K12_25

Install and Configure the 64bit DSN

  1. Mount the Microsoft SQL Server 2008 R2 ISO image to the CDROM of the virtual machine.
  2. Search for “sqlncli” or browse to D:\x64\setup\x64 and run “sqlncli.msi”.  Install the Microsoft SQL Server 2008 R2 Native 64-bit Client.
  3. Unmount the ISO image.
  4. Press the Windows “Start” button and run the “ODBC Data Sources (64-bit)” program.
  5. Select the “System DSN” tab and then press “Add”.
  6. Select the “SQL Server Native Client 10.0″ driver and then press “Finish”.
  7. Enter the name “VCENTERDB”, the description “VCENTERDB” and then select the name of the vCenter Database server (SQL Server 2008 R2) configured earlier from the “Server” list.  Press “Next”.
  8. Select “With SQL Server authentication using a login ID and password assigned by the user”, use the “vpxuser” and password and press “Next”.
  9. Tick “Change the default database to” the vCenter Database name recorded earlier.
  10. Select “Finish”.
  11. Select “Test Data Source”.  Verify “TESTS COMPLETED SUCCESSFULLY!” appears and select “OK”.  Then select “OK” again.
  12. Verify that the “System DSN” tab now has a “VCENTERDB” System Data Source with a “SQL Server Native Client 10.0″ driver.  Then select “OK”.

5.5_W2K12_335.5_ODBC_1 5.5_ODBC_2 5.5_ODBC_3 5.5_ODBC_4 5.5_ODBC_5 5.5_ODBC_6 5.5_ODBC_7 5.5_ODBC_8 5.5_ODBC_9

Copy the SSL Directory from the old vCenter server

  1. Copy the SSL directory from the “C:\ProgramData\VMware\VMware VirtualCenter\SSL\” from the old vCenter server
  2. Create a vSphere “Baseline” Snapshot.  This will be used for roll-back if the vCenter installation is corrupted in any way during Part 3.
  3. Reboot server by opening a Power Shell window and typing “shutdown /r”.

5.5_W2K12_36 5.5_W2K12_375.5_W2K12_32 5.5_W2K12_34

 

 

PART 3

Prerequisites

  • Prepare the vSphere Management Cluster
  • Shutdown the existing vCenter services and re-purpose the existing hybrid vCenter/Database server to be a dedicated Database server.
  • Windows Server 2012 R2 server Operating System installation
  • Customise the Windows Server 2012 R2 OS
  • Install the .Net Framework 3.5 Features
  • Install and Configure the 64-bit DSN
  • Import the SSL directory from the original vCenter server
  • If you used custom ports in vCenter 5.1, then make sure you know what they are, so that you can configure them here.  You will have to modify your firewall rules since the vCenter services are now centralised.

Install the vCenter Single Sign-On Service

  1. Make sure the vCenter 5.5 Update 1 ISO image has been mounted to the CDROM of the Windows Server 2012 R2 Virtual Machine.
  2. Open the console of the new vCenter VM running Windows Server 2012 R2 and login with the AD “vCenter” service account.
  3. Browse to the CDROM and select the “autorun.exe” file and “Run as Administrator”.
  4. In the VMware vSphere 5.5 vCenter Installer window, select “vCenter Single Sign-On” from the “Custom Install” and press “Install”.
  5. Select “Next”.
  6. Accept the licence agreement and select “Next”.
  7. Make sure the “Host name” is displayed, “FQDN” is displayed, “IP Address” is displayed, “Machine is joined to <domain>” has a green tick and “DNS resolution is successful” has a green tick.
  8. Make sure “Add <domain> as a native Active Directory identity source” is ticked and then press “Next”.
  9. Select “vCenter Single Sign-On for your first vCenter Server” is selected and press “Next”.
  10. Create the password for “administrator@vsphere.local”.  It should be complex, with upper case, lower case, numerals and one special character (recommend “!”, this is because in SSO 5.1 other special characters caused the SSO scripts to fail – not sure if this is true for 5.5).  WARNING: record this password in a safe place, it is the master key to your entire vCenter infrastructure.
  11. Enter the “Site name” and press “Next”.
  12. If you use custom ports, configure it here.  Select “Next”.
  13. Change the “Destination folder” to E:\ and select “Next”.
  14. Select “Install”.
  15. Select “Finish”.
  16. Open the Services application and verify that the VMware “Certificate”, “Directory”, “Identity Management”, “Kdc” and “Security Token” services are installed and running.

5.5_VIM_SSO_1 5.5_VIM_SSO_2 5.5_VIM_SSO_3 5.5_VIM_SSO_4 5.5_VIM_SSO_5 5.5_VIM_SSO_6 5.5_VIM_SSO_75.5_VIM_SSO_8 5.5_VIM_SSO_9 5.5_VIM_SSO_10 5.5_VIM_SSO_11 5.5_VIM_SSO_12 5.5_VIM_SSO_13

Install the vSphere Web Client Service

  1. In the VMware vSphere 5.5 vCenter Installer window, select “vSphere Web Client” from the “Custom Install” and press “Install”.
  2. Select “OK”.
  3. Select “Next”.
  4. Accept the licence agreement and select “Next”.
  5. Leave the “Destination folder” as C:\ and select “Next”.  If you change this, then the Web Client will not function, you will have to uninstall the vSphere Web Client and reinstall it with the default destination folder.
  6. If you use custom ports, configure it here.  Select “Next”.
  7. Enter the “administrator@vsphere.local” password and select “Next”.
  8. Accept the SSO leaf certification by pressing “Yes”.
  9. Select the “Install certificates” button.
  10. Select “Install”.
  11. Select “Finish”.
  12. Press “OK”.
  13. Open the Services application and verify that the VMware “vSphere Web Client” service is installed and running.

5.5_VIM_WEB_1 5.5_VIM_WEB_2 5.5_VIM_WEB_3 5.5_VIM_WEB_4 5.5_VIM_WEB_5 5.5_VIM_WEB_6 5.5_VIM_WEB_7 5.5_VIM_WEB_8 5.5_VIM_WEB_9 5.5_VIM_WEB_10 5.5_VIM_WEB_11 5.5_VIM_WEB_12 5.5_VIM_WEB_13

Install the vCenter Inventory Service

  1. In the VMware vSphere 5.5 vCenter Installer window, select “vCenter Inventory Service” from the “Custom Install” and press “Install”.
  2. Select “OK”.
  3. Select “Next”.
  4. Accept the licence agreement and select “Next”.
  5. Change the “Destination folder” to E:\ and select “Next”.
  6. Select “Next”.
  7. If you use custom ports, configure it here.  Select “Next”.
  8. Select the “Inventory Size” and press “Next”.  “Small” is used in this case.
  9. Enter the “administrator@vsphere.local” password and select “Next”.
  10. Accept the SSO leaf certification by pressing “Yes”.
  11. Select “Install”.
  12. Select “Finish”.
  13. Open the Services application and verify that the VMware “vCenter Inventory” service is installed and running.

5.5_VIM_INV_1 5.5_VIM_INV_2 5.5_VIM_INV_3 5.5_VIM_INV_4 5.5_VIM_INV_5 5.5_VIM_INV_6 5.5_VIM_INV_7 5.5_VIM_INV_8 5.5_VIM_INV_9 5.5_VIM_INV_10 5.5_VIM_INV_11 5.5_VIM_INV_12 5.5_VIM_INV_13

Install the vCenter Server

  1. In the VMware vSphere 5.5 vCenter Installer window, select “vCenter Server” from the “Custom Install” and press “Install”.
  2. Select “OK”.
  3. Select “Next”.
  4. Accept the licence agreement and select “Next”.
  5. Skip the “Licence key” and press “Next”.  The licence key is already stored in the SQL Server Database.
  6. Select “Use an existing supported database” and select “VCENTERDB (MS SQL)” from the DSN list.  Then press “Next”.
  7. Enter the “vpxuser” “Database password” and press “Next”.
  8. Press “OK” for the VUM “registered extensions” message.
  9. Select “Do not overwrite. Leave my existing database in place” and press “Next”.
  10. Select “Next”.
  11. If you use custom ports, configure it here.  Select “Next”.
  12. Select the “Inventory Size” and press “Next”.  “Small” is used in this case.
  13. Enter the “administrator@vsphere.local” password and select “Next”.
  14. Accept the SSO leaf certification by pressing “Yes”.
  15. Enter the Active Directory username or group that will be configured as an administrator of vCenter.  Select “Next”.
  16. Select “Next”.
  17. Change the “Destination folder” to E:\ and select “Next”.
  18. Select “Install”.
  19. Select “Finish”.
  20. Open the Services application and verify that the VMware “VirtualCenter Server” service is installed and running.

5.5_VIM_VC_1 5.5_VIM_VC_2 5.5_VIM_VC_3 5.5_VIM_VC_4 5.5_VIM_VC_5 5.5_VIM_VC_6 5.5_VIM_VC_7 5.5_VIM_VC_8 5.5_VIM_VC_9 5.5_VIM_VC_10 5.5_VIM_VC_11 5.5_VIM_VC_12 5.5_VIM_VC_13 5.5_VIM_VC_14 5.5_VIM_VC_15 5.5_VIM_VC_16 5.5_VIM_VC_17 5.5_VIM_VC_18 5.5_VIM_VC_19 5.5_VIM_VC_20

Install the vSphere Client

    1. In the VMware vSphere 5.5 vCenter Installer window, select “VMware vSphere Client” from the “VMware vCenter Desktop Client” and press “Install”.
    2. Complete the vSphere Client installation and run the vSphere Client.
    3. Connect to the vCenter server with the vCenter server 5.5 hostname and login.
    4. Check that all hosts are connected and that all alarms are accounted for.
    5. Recreate the original RBAC permissions that were recorded from the vCenter 5.1 server.
    6. From the Windows Server Start menu, select the vSphere Web Client and login.
    7. Verify that the vSphere Web Client is functioning correctly.
    8. On your Desktop close all consoles and disconnect the vSphere Client from the Management host.
    9. Install the vSphere Client 5.5 on your Desktop and connect to the vCenter server 5.5 and login.
    10. Take a vSphere Snapshot of the vCenter and Database servers.  This provides a roll-back if any part of the Cloud Management re-integration process fails.

5.5_VIM_VSPC_1 5.5_VIM_VSPC_2 5.5_VIM_VSPC_3

 

PART 4

Prerequisites

  • Fully functioning vCenter 5.5 server
  • Re-integration procedures for reconnecting your Cloud Management infrastructure with vCenter 5.5.

Cloud Management Re-integration

  1. For each Cloud Management component, follow the process of re-integration with vCenter 5.5 (vCD, vCAC, Avamar, vC Ops, vIN, Veeam, vCM, CBM, vCO, etc.)
  2. Hopefully this is successful because you fully tested this process in your lab.  However, if any component fails with re-integration, open tickets with support and hopefully it will be resolved.  WORST CASE: Activate the roll-back plan back to vCenter 5.1 for all infrastructure.

Cleanup

  1. Everything has been running perfectly for a period of time.  You have decided that the danger period has passed and made the decision to stick with vCenter 5.5.
  2. Delete all vSphere Snapshots.
  3. Delete all remaining distributed vCenter 5.1 VMs (vSphere Web Client, Inventory Service, SSO).
  4. Unmount any ISO images from the vCenter and Database VMs.
  5. Upgrade completed.  Well done!

 

 

PART 5 

Prerequisites

  • You have completed steps 1 to 4.
  • You have administrator access to vCenter and the vCenter Database server.
  • You have mounted the vCenter installation ISO image to the vCenter server.
  • Extend E: of the vCenter server to handle the Patch repository (120GB).
  • Add F: to the vCenter server to be the Syslog repository (40GB).

Prepare the vCenter Update Manager Database on the existing vCenter Database Server

  1. RDP or open the console to the vCenter SQL Server and run the Microsoft SQL Server Management Studio.
  2. Login as “sa”.
  3. Select the “Databases” folder and right mouse click.  Select “New Database”.
  4. Enter the “Database name” and make sure the owner is “sa”.
  5. Select the “Options” tab and set the “Recovery Model” to “Simple”.  Then press “OK”.
  6. Select the “Security” folder and then the “Logins” sub-folder and select “vpxuser”.  Right mouse click and press the “Properties” option.
  7. Select the “User Mapping” object and tick the new vUM database you just created.
  8. Then tick the “db_owner” role in the “Database role membership” window and make sure the “Default Schema” is set to “dbo”.
  9. Press “OK”.
  10. Then access the “Database Properties” of the vUM database and select the “Permissions” object.  Make sure that the “vpxuser” is listed as a “User”.  Press “OK”.

5.5_VUM_DB_1 5.5_VUM_DB_2 5.5_VUM_DB_3 5.5_VUM_DB_4 5.5_VUM_DB_5 5.5_VUM_DB_6

Install and Configure the 32bit DSN for the vUM Database

  1. Press the Windows “Start” button and run the “ODBC Data Sources (32-bit)” program.
  2. Select the “System DSN” tab and then press “Add”.  Note the existing 64bit DSN for the vCenter DB already configured in Part 2.
  3. Scroll down to the bottom and select the “SQL Server Native Client 10.0″ driver and then press “Finish”.
  4. Enter the name “VUMDB”, the description “VUMDB” and then select the name of the vCenter Database server (SQL Server 2008 R2) configured earlier from the “Server” list.  Press “Next”.
  5. Select “With SQL Server authentication using a login ID and password assigned by the user”, use the “vpxuser” and password and press “Next”.
  6. Tick “Change the default database to” the vCenter Database name recorded earlier.
  7. Select “Finish”.
  8. Select “Test Data Source”.  Verify “TESTS COMPLETED SUCCESSFULLY!” appears and select “OK”.  Then select “OK” again.
  9. Verify that the “System DSN” tab now has a 32bit “VUMDB” System Data Source with a “SQL Server Native Client 10.0″ driver.  Then select “OK”.

5.5_VUM_32bit_ODBC_1 5.5_VUM_32bit_ODBC_2 5.5_VUM_32bit_ODBC_3 5.5_VUM_32bit_ODBC_4 5.5_VUM_32bit_ODBC_5 5.5_VUM_32bit_ODBC_6 5.5_VUM_32bit_ODBC_7 5.5_VUM_32bit_ODBC_8 5.5_VUM_32bit_ODBC_9 5.5_VUM_32bit_ODBC_10

Install vSphere Update Manager

  1. Make sure the vCenter 5.5 Update 1 ISO image has been mounted to the CDROM of the Windows Server 2012 R2 Virtual Machine.
  2. Open the console of the new vCenter VM running Windows Server 2012 R2 and login with the AD “vCenter” service account.
  3. Browse to the CDROM and select the “autorun.exe” file and “Run as Administrator”.
  4. In the VMware vSphere 5.5 vCenter Installer window, select “vSphere Update Manager” from the “VMware vCenter Support Tools” and press “Install”.
  5. Select “OK”.
  6. Press “Next”.
  7. Select “I accept the terms in the license agreement” and press “Next”.
  8. Deselect “Download updates from default sources immediately after installation” and press “Next”.
  9. Enter the vCenter “IP Address”, “Username” (service account) and “Password” and press “Next”.
  10. Select “Use an existing supported database” and select “VUMDB” from the “DSN” drop down menu.  Press “Next”.
  11. Enter the “vpxuser” as the “Database Username” and the “Database Password” and then press “Next”.
  12. Select the vCenter IP Address from the drop down menu and select “Yes, I have Internet connection and I want to configure proxy settings now” if you have a proxy.  Then press “Next”.
  13. Enter the proxy settings and then press “Next”.
  14. Change the Install and Patch locations to “E:” and press “Next”.  Make sure E: has enough capacity for storing patches (120GB).
  15. Press “Install”.
  16. After the installation has completed, press “Finish”.
  17. You now have to enable the vUM plugin from your vSphere C# client and configure the baselines, then attach them to hosts and VMs for scanning and remediation.  An example of this is detailed in Part 10.

5.5_VUM_1 5.5_VUM_2 5.5_VUM_3 5.5_VUM_4 5.5_VUM_5 5.5_VUM_6 5.5_VUM_7 5.5_VUM_8 5.5_VUM_9 5.5_VUM_10 5.5_VUM_11 5.5_VUM_12 5.5_VUM_13

Install vSphere Syslog Collector

  1. In the VMware vSphere 5.5 vCenter Installer window, select “vSphere Syslog Collector” from the “VMware vCenter Support Tools” and press “Install”.
  2. Select “OK”.
  3. Press “Next”.
  4. Change the Install and Repository locations to “F:” and press “Next”.  Make sure F: has enough capacity for storing logs (40GB).  This will vary based upon the size of the log rotation and number of log rotations to keep.
  5. Press “Next”.
  6. Select “VMware vCenter Server installation” and then press “Next”.
  7. Enter the vCenter “IP Address”, “Username” (service account) and “Password” and press “Next”.
  8. Press “Yes” to accept the vCenter Server SSL Certificate.
  9. Press “Next”.
  10. Select the vCenter IP Address from the drop down menu and press “Next”.
  11. Press “Install”.
  12. After the installation has completed, press “Finish”.

5.5_Syslog_1 5.5_Syslog_2 5.5_Syslog_3 5.5_Syslog_4 5.5_Syslog_5 5.5_Syslog_6 5.5_Syslog_7 5.5_Syslog_8 5.5_Syslog_9 5.5_Syslog_10 5.5_Syslog_11

Update the Syslog configuration on each ESXi Host

  1. Open the Web Client of vCenter 5.5 and login as an administrator.
  2. Select each host and press the “Manage” object.  Then “Settings” and the “Advanced System Settings”.
  3. Scroll down to the “Syslog” area.
  4. Set “Syslog.global.logDirUnique” to “True”.
  5. Set “Syslog.global.logHost” to “tcp://<IP Address of vCenter Server>:514″
  6. Once you have configured each host, browse to the vCenter Repository Directory configured earlier and verify each host has a directory with log files in it.

ESXi_Syslog_1

 

 PART 6

 

Prerequisites

  • You have a licenced and functioning version of vC Ops that was working with vCenter 5.1.
  • You have administrator access to vCenter and vC Ops.
  • You have checked that your version of vC Ops supports vCenter 5.5.  vC Ops version 5.8.2 (Build 1885282) is used in this example.

Reintegrate vCenter Operations Manager with vCenter 5.5

  1. Open a Web browser and connect to the administrator interface of your vC Ops implementation: https://<vC Ops IP Address/admin”.
  2. Login as “admin” with the correct password.
  3. Select the “Registration” tab and press the “Update” button of the upgraded vCenter 5.5 server in the “vCenter Server Registration” section.
  4. Re-enter the Registration and Collector passwords and press “Test Connection”.  Accept the new SSL certificate and then press “Apply”.
  5. Open the Web Client to vCenter 5.5: https://<vCenter 5.5 Web Client>:9443/vsphere-client/” and login as an administrator.
  6. Browse to the Licence Management screen by selecting “Home”, “Administration”, “Licenses” and then the “Solutions” object.
  7. Ensure that “vCenter Operations Manager” has a valid licence key assigned.  If not, assign one using the “Assign License Key” button.
  8. Browse to any host and select the “Monitor” tab and then the “Health” object.  Verify that the vC Ops “Health”, “Workload” and “Faults” badges are visible with a numerical value.
  9. In parallel, open the vC Ops user interface from a Web browser: https://<vC Ops IP Address/vcops-vsphere/” and login as “admin”.
  10. Browse to the same host as you selected in the Web Client and select the “Operations” object.
  11. Verify that the “Health”, “Workload” and “Faults” badges are the same values as those displayed in the Web Client.
  12. Reintegration completed.

vcops_1vin_vcops_4vcops_2 vcops_3

 

 

 PART 7

 

Prerequisites

  • You have completed steps 1 to 6.
  • You have administrator access to vCenter.
  • You have downloaded the vIN ova for vCenter 5.5 Update 1c.

Unregister the vCenter 5.1 vIN extension

I tried to reregister the original vIN instance with no success, I am sure there is some procedure for this, but I could not find it.  So redeploy was the only option left.

  1. Open a Web browser and connect to the vCenter extension manager: https://<vCenter IP Address>/mob”
  2. Login as an administrator and select “UnregisterExtension”.
  3. Enter “com.vmware.vadm.ngc51″ and press “Unregister”.
  4. Then enter “com.vmware.vadm” and press “Unregister”.
  5. Refresh the “ExtensionManager” screen and verify the “vadm” entries are gone.
  6. Within vCenter, power off and delete the vCenter 5.1 Virtual Appliance.
  7. This process is also describe in VMware KB 1025360.

vcenter_extension_mgr_1 vcenter_extension_mgr_2.

Redeploy the vIN Virtual Appliance for vCenter 5.5

  1.  Connect to the Web Client and select the vCenter 5.5 instance that requires vIN.
  2. Select “Related Objects”, “Virtual Machines” and then select the “Add OVA icon”.
  3. Browse to the file “VMware_vCenter_Infrastructure_Navigator-xxxx.ova” and press “Next”.
  4. Press “Next”.
  5. Accept the EULA and press “Next”.
  6. Enter the “Name”, select the “Datacenter” object and press “Next”.
  7. Select the Cluster and then press “Next”.
  8. Select the “virtual disk format”, “VM storage policy”, “Storage DRS cluster” and then press “Next”.
  9. Select the “Portgroup” network and press “Next”.
  10. Enter the “root” password, “Default Gateway”, “DNS” entries, “IP Address” and “Netmask”.  Then press “Next”.
  11. Press “Next”.  Note if the vCenter extension service is not running, then access the Windows Server “Services” window and make sure the “vCenter Web Service” is running.
  12. Select “Power on after deployement” and then press “Finish”.
  13. After the vIN deployment has completed and powered on, browse to the Licence Management screen by selecting “Home”, “Administration”, “Licenses” and then the “Solutions” object.
  14. Ensure that “vCenter Infrastructure Navigator” has a valid licence key assigned.  If not, assign one using the “Assign License Key” button.
  15. Press “Home” and then “Infrastructure Navigator”.
  16. Press the “Turn on access to VMs” button and enter the administrator service account credentials and then press “OK”.
  17. After some time (depending upon the size of your environment), select any VM and press “Manage” and then “Application Dependencies”.  Verify that an “Application Dependencies” map is present.

vin_1 vin_2 vin_3 vin_4 vin_5 vin_6 vin_7 vin_8 vin_9 vin_10 vin_11vin_vcops_4 vin_12 vin_13 vin_14 vin_15

 

PART 9

 

 

Prerequisites

  • You have a licenced and functioning version of vCO Appliance.
  • You have administrator access to vCenter and vCO (root & vmware accounts).
  • You have have the vCO Appliance update ISO image.

Reintegrate vCO Appliance with vCenter 5.5

  1. Connect to the vCO Appliance with a Web Browser: http://<vCO IP Address>/.
  2. Press the “Orchestrator Configuration” link which will connect to http://<vCO IP Address>:8283/.
  3. Login as “vmware” with the correct password.
  4. Select the “Network” object and then the “SSL Trust Manager” tab and delete the “vCenter Server”, “SSO” and “Web Client” SSL certificates.
  5. Enter the new vCenter server URLs for vCenter Server, SSO and vSphere Web Client within the “URL from which to import a certificate” field and press the “Import” button.
  6. Then press the “Import” button.
  7. Select the “vCenter Server” object and press the “Hosts” tab.  Delete the registered vCenter objects by pressing the “Delete” buttons.
  8. Select the “New vCenter Server Host” tab and enter each vCenter 5.5 host by completing the “Host” field and entering the administrator service account in the “Username” and “Password” fields.  Then press “Apply Changes”.
  9. You can test that the integration is complete by running a vCO workflow and verifying it connects to vCenter and executes the workflow tasks.

vCO_Configuration_0 vCO_Configuration_1 vCO_Configuration_2 vCO_Configuration_3 vCO_Configuration_4 vCO_Configuration_5 vCO_Configuration_6

Upgrade vCO Appliance to 5.5

  1. Mount the vCO update ISO image to the CDROM of the vCO Appliance.
  2. Connect to the vCO Appliance with a Web Browser: http://<vCO IP Address>/.
  3. Press the “Appliance Configuration” link which will connect to http://<vCO IP Address>:5480/.
  4. Login as “root” with the correct password.
  5. Press the “System” tab and check the vCO version under the “Information” object.
  6. Press the “Update” tab and then the “Settings” button and set the “Update Repository” to “Use CDROM Updates” and press “Save Settings”.
  7. The press the “Status” button and “Check Updates”.  Once the “Available Updates” message appears, press “Install Updates”.
  8. When the “EULA” appears, press “Accept”.
  9. Press “OK” to “Do you want to install updates?”.
  10. Wait for the “Installing Updates” message to complete.
  11. Reboot the vCO Appliance by pushing the “Reboot” button under the “System” tab.
  12. Login and verify that the version information has updated to 5.5.1.0 under the “System” tab.
  13. Check that vCO is still alarm free by logging into the “Orchestration  Configuration” interface.
  14. Test that workflows still execute by running a vCO workflow and verifying that vCenter executes the workflow tasks.

vCO_Upgrade_0 vCO_Upgrade_1 vCO_Upgrade_2 vCO_Upgrade_3 vCO_Upgrade_4 vCO_Upgrade_5 vCO_Upgrade_6 vCO_Upgrade_7 vCO_Upgrade_8

 

PART 10Upgrading ESXi

Prerequisites

  • You have a licenced and functioning version of vCenter 5.1 with vUM.
  • You have administrator access to vCenter and ESXi (root account).
  • You have have the ESXi 5.5 Update 1 Driver Rollup 2 ISO image.
  • You are booting from DAS, SAN or USB.  You are not using AutoDeploy (PXE boot).

Upgrade ESXi 5.1 to 5.5 Update 1

  1. Place the ESXi 5.1 host in “Maintenance Mode”.
  2. Mount the ESXi 5.5 Update 1 Driver Rollup 2 ISO image to the host.
  3. Connect to the DCUI console of the host.
  4. Reboot the ESXi 5.1 host and allow the host to boot from the ISO image.
  5. Wait for the “Welcome to VMware ESXi 5.5.0 Installation” message to appear.  Press “Enter” to continue.
  6. Press “F11″ to accept the EULA.
  7. Select your boot “Storage Device” and press “Enter” to continue.
  8. Select “Upgrade ESXi, preserve VMFS datastore” and press “Enter”.
  9. Press “F11″ to upgrade from ESXi 5.1 to ESXi 5.5.
  10. Press “Enter” to reboot the ESXi host.
  11. After the ESXi host has booted, verify that the message “VMware ESXi 5.5.0 (VMKernel Release Build xyz)” appears on the DCUI Console.

esxi5.5upgrade_0esxi5.5upgrade_1 esxi5.5upgrade_2 esxi5.5upgrade_3 esxi5.5upgrade_4 esxi5.5upgrade_5 esxi5.5upgrade_6 esxi5.5upgrade_7

Use vUM to apply the latest ESXi 5.5 Patches

  1. Connect to vCenter using the vSphere C# Client as an administrator.  You currently cannot use the vSphere Web Client to Remediate hosts with vUM.
  2. Make sure that the ESXi 5.5 host you just upgraded is connected to vCenter.  If the host has not connected, select the host and right mouse click and select “Connect”.
  3. Select the upgraded host and verify that the window shows the version as “VMware ESXi, 5.5.0, xyz”.
  4. Verify that the host is still in “Maintenance Mode”.
  5. Select the “Update Manager” tab and press the “Scan” button.
  6. Ensure that “Scan the selected hosts for:” “Patches and Extensions” and “Upgrades” is selected.  Press the “Scan” button.
  7. After the scan is complete, the “Host Compliance” should be “Non-Compliant”.
  8. Press the “Remediate” button.
  9. Ensure that “Critical Host Patches (Predefined)” and “Non-Critical Host Patches (Predefined)” is selected and press the “Next” button.
  10. Ensure that all of the “Patches” are selected and press the “Next” button.
  11. Select “Immediately” for “Remediate the selected hosts:” and press “Next”.
  12. Press “Next”.
  13. Select “Disable High Availability admission control if it is enabled for any of the selected clusters” and press “Next”.
  14. Press “Finish”.
  15. Wait for the “Remediate entity” task to complete (ESXi host will reboot during this process).
  16. Verify that the build number has increased and that the “Host Compliance” state is now “Compliant”.
  17. The ESXi 5.5 upgrade process is now complete, exit “Maintenance Mode” and allow DRS to move workloads to this host.

esxi5.5upgrade_vum_1 esxi5.5upgrade_vum_2 esxi5.5upgrade_vum_3 esxi5.5upgrade_vum_4 esxi5.5upgrade_vum_5 esxi5.5upgrade_vum_6 esxi5.5upgrade_vum_7 esxi5.5upgrade_vum_8 esxi5.5upgrade_vum_9